import { FiledChildProps } from "@/types";
import { Input, Select, Space } from "antd";
import { FormRowCol } from "@/components/common/FormRowCol.tsx";

export const FileSettings = ({
  storeData,
  onStoreDataChange,
}: FiledChildProps) => {
  return (
    <div style={{ padding: "10px" }}>
      <Space direction="vertical">
        <FormRowCol label="文件名">
          <Input
            placeholder="文件名"
            value={storeData.name}
            onChange={(e) => {
              onStoreDataChange("name", e.target.value);
            }}
          />
        </FormRowCol>
        <FormRowCol label="文件夹">
          <Select className={"w-full"} options={[]} disabled />
        </FormRowCol>
        <FormRowCol label="分类">
          <Select className={"w-full"} options={[]} disabled />
        </FormRowCol>
      </Space>
    </div>
  );
};
